﻿namespace KeRui.Model
{
    using System;

    [Serializable]
    public class SellerAD
    {
        private int _adhight;
        private int _adid;
        private string _adname;
        private string _adtext;
        private int _adtype;
        private string _adurl;
        private int _adwidth;
        private string _createip;
        private DateTime _createtime;
        private DateTime _enddate = DateTime.Now;
        private int _id;
        private int _sellerid;
        private string _sellername;
        private DateTime _startdate = DateTime.Now;
        private int _state;

        public int AdHight
        {
            get
            {
                return this._adhight;
            }
            set
            {
                this._adhight = value;
            }
        }

        public int AdID
        {
            get
            {
                return this._adid;
            }
            set
            {
                this._adid = value;
            }
        }

        public string AdName
        {
            get
            {
                return this._adname;
            }
            set
            {
                this._adname = value;
            }
        }

        public string AdText
        {
            get
            {
                return this._adtext;
            }
            set
            {
                this._adtext = value;
            }
        }

        public int AdType
        {
            get
            {
                return this._adtype;
            }
            set
            {
                this._adtype = value;
            }
        }

        public string AdUrl
        {
            get
            {
                return this._adurl;
            }
            set
            {
                this._adurl = value;
            }
        }

        public int AdWidth
        {
            get
            {
                return this._adwidth;
            }
            set
            {
                this._adwidth = value;
            }
        }

        public string CreateIP
        {
            get
            {
                return this._createip;
            }
            set
            {
                this._createip = value;
            }
        }

        public DateTime CreateTime
        {
            get
            {
                return this._createtime;
            }
            set
            {
                this._createtime = value;
            }
        }

        public DateTime EndDate
        {
            get
            {
                return this._enddate;
            }
            set
            {
                this._enddate = value;
            }
        }

        public int ID
        {
            get
            {
                return this._id;
            }
            set
            {
                this._id = value;
            }
        }

        public int SellerID
        {
            get
            {
                return this._sellerid;
            }
            set
            {
                this._sellerid = value;
            }
        }

        public string SellerName
        {
            get
            {
                return this._sellername;
            }
            set
            {
                this._sellername = value;
            }
        }

        public DateTime StartDate
        {
            get
            {
                return this._startdate;
            }
            set
            {
                this._startdate = value;
            }
        }

        public int State
        {
            get
            {
                return this._state;
            }
            set
            {
                this._state = value;
            }
        }
    }
}

